POV-Ray : Newsgroups : povray.animations : How to animate "look_at"? : Re: How to animate "look_at"? Server Time
28 Jul 2024 20:21:50 EDT (-0400)
  Re: How to animate "look_at"?  
From: Chris Colefax
Date: 29 Dec 1999 20:55:54
Message: <386abbaa@news.povray.org>
Phil Clute <pcl### [at] tiacnet> wrote:
> In case you haven't checked it out here's a cool tutorial that will
> help you learn about the Autoclock.mcr .
> http://www.puzzlecraft.com/cm/ClockMod.html

Kynk <acu### [at] hotmailcom> wrote:
> I read it, but I still haven't find anything concernig "look_at".

As per the example I posted earlier you should be able to use the Automatic
Clock Modifier macros with the look_at statement, just like any other
vector, eg:

   camera {
      angle From (0, 60) Using ("O", 1, 10, "") To (1, 45)
      location From (0, <0, 0 ,0>) To_Using (1, <10, 20, 10>, "Wave")
      look_at From (0.5, z) To (.75, -x*3) To (1, y*10)
      }

This avoids all the messy declare statements, etc.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.